package com.hgkj.system.domain.dto.request;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class UserStatusRequest {

    @Min(value = 2, message = "用户ID不能小于1")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @NotBlank(message = "状态不能为空")
    @Size(min = 1, max = 1, message = "状态长度只能为1")
    private String status;
}
